package com.run.go.gearbox.mysql.codec;

import io.netty.channel.Channel;

import java.io.IOException;
import java.io.InputStream;

/**
 * 接收数据解码
 */
public interface Decoder {

    Object decode(InputStream input, Channel channel) throws IOException;

}
